# -*- coding: utf-8 -*-
# @Time    : 2022/5/16 22:40
# @Author  : 我还能卷
# @FileName: login.py
# @Software: PyCharm
def login(username=None, password=None):

    if username is None or password is None:
        return {"code": "400", "msg": "用户名或密码为空"}
    if username == 'yuz' and password == '123':
        return {"code": "200", "msg": "登录成功"}
    return {"code": "300", "msg": "用户名或密码错误"}
